package com.fortune.rainshinesystem.service;

import com.fortune.rainshinecommon.base.MsgModel;
import com.fortune.rainshinecommon.model.system.User;
import com.fortune.rainshinecommon.query.UserIdQuery;
import com.fortune.rainshinecommon.query.UserQuery;

import java.util.List;

/**
 * 〈一句话功能简述〉<br>
 * 〈后台用户管理〉
 *
 * @author Administrator
 * @create 2018/10/23
 * @since 1.0.0
 */
public interface UserService {

    MsgModel addUser(User user);

    MsgModel list();

    List<User> getShopAssistantsByShopId(Integer shopId, Integer state);

    List<User> getUsersByPhone(String phone);

    MsgModel updatePsw(UserQuery query);

    MsgModel updateAvatar(UserQuery query);

    MsgModel getAllMerchants(UserIdQuery query);
}
